package com.wealth.lottery.enums;
/**
 * 商品类型
 * @author lihang 2016-06-28
 */
public enum LotteryActivityTypeEnums {
TURN(1,"大转盘"), SHAKE(2,"摇一摇");
	
	private int value;
	private String comment;
	private LotteryActivityTypeEnums(int value,String comment){
		this.value = value;
		this.comment =comment;
	}
	
	public int getValue(){
		return value;
		
	}
	public String getComment(){
		return comment;
	}
	public static LotteryActivityTypeEnums get(int value){
		for (LotteryActivityTypeEnums o:LotteryActivityTypeEnums.values()) {
			if(o.value ==value){
				return o;
			}
		}
		return null;
	}

}
